package khs.stunclient;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.DatagramSocket;
import java.net.InetSocketAddress;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args ) throws IOException, InterruptedException
    {
        InetSocketAddress stunServer = new InetSocketAddress("stun.l.google.com", 19302);
        DatagramSocket datagramSocket = new DatagramSocket();
        
    	StunClient stunClient = new StunClient(stunServer, datagramSocket);
    	
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int in = br.read();
    	
    	System.out.println( "Hello World!" );
    }
}
